<?php
/**
 * Created by PhpStorm.
 * User: apple
 * Date: 2018/7/22
 * Time: 下午3:40
 */

namespace PddWechat\Models\Pos\Param;

use Dai\Framework\Base\BaseParam;

class AskForPosParam extends BaseParam
{
    /**
     * @type(String)
     * @length(2,64)
     * @message("name必填")
     */
    public $name;

    /**
     * @type(String)
     * @length(2,64)
     * @regex(^1[34578]{1}\d{9}$)
     * @message("phone必填")
     */
    public $phone;

    /**
     * @type(String)
     * @length(17,20)
     * @message("idcard必填")
     */
    public $idcard;

    /**
     * @type(String)
     * @length(2,128)
     * @message("address必填")
     */
    public $address;

    /**
     * @type(String)
     * @length(4)
     * @message("code必填")
     */
    public $code;

    public $invateOpenId;
}